<seed-content >
  <seed-toolbar-header>
    <seed-toolbar-title>赞助详情</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <div class="seed-sponsor-detail" *ngIf="sponsorDetail">
    <h3>{{sponsorDetail?.planName}}</h3>
    <div class="sponsor-title">
      <p>
        <img [src]="sponsorDetail?.iconUrl" seed-load-img
             (click)="gotoHomepage(sponsorDetail?.orgId)"
        >
      </p>
      <div class="sponsor-release-time">
        <p>{{sponsorDetail?.nickName}}</p>
        <span>{{sponsorDetail?.createTime|amDateFormat:'YYYY/MM/DD'}} </span> <span> 发布</span>
      </div>
    </div>
    <div class="sponsor-info">
      <p>
        <span>意向项目：</span>
        <span class="list-array">{{sponsorDetail?.projectType||'暂无'}}</span>
      </p>
      <p>
        <span>投放地域：</span>
        <span class="list-array">{{sponsorDetail?.planAreaList||'暂无'}}</span>
      </p>
      <p>
        <span>赞助时间：</span>
        <span class="list-array">{{sponsorDetail?.startTime|amDateFormat:'YYYY/MM'}}~{{sponsorDetail?.endTime|amDateFormat:'YYYY/MM'}}</span>
      </p>
      <p>
        <span>赞助目的：</span>
        <span class="list-array">{{sponsorDetail?.sponsorPurposeDesc||'暂无'}}</span>
      </p>
      <p>
        <span>赞助金额：</span>
        <span class="list-array">{{sponsorDetail?.money/1000000}}万</span>
      </p>
      <p>
        <span>目标人群：</span>
        <span class="list-array">{{sponsorDetail?.targetGroupDesc||'暂无'}}</span>
      </p>
    </div>
  </div>
  <div class="sponsor-plan">
    <div class="sponsor-plan-name">
      <i></i>
      <span>赞助计划</span>
    </div>
    <div class="sponsor-detail-info" *ngIf="sponsorDetail">
      <div class="contact-info">
        <p class="weight-bold">联系方式</p>
        <p>
          <span>联系人：</span><span>{{sponsorDetail?.contactPerson ||'暂无'}}</span>
        </p>
        <p>
          <span>联系电话：</span><a href="tel:13823185776">{{sponsorDetail?.contactPhone||'暂无'}}</a>
        </p>
        <p class="weight-bold" *ngIf="sponsorDetail?.brandIntro">品牌介绍</p>
        <div [innerHTML]="sponsorDetail?.brandIntro">
        </div>
        <p class="weight-bold" *ngIf="sponsorDetail?.sponsorPurposeDesc">赞助目的</p>
        <div>{{sponsorDetail?.sponsorPurposeDesc }}</div>
        <p class="weight-bold" *ngIf="sponsorDetail?.sponsorTypeDesc">赞助方式</p>
        <div>{{sponsorDetail?.sponsorTypeDesc }}</div>
        <p class="weight-bold" *ngIf="sponsorDetail?.planAreaList">投放地域</p>
        <div>{{sponsorDetail?.planAreaList }}</div>
        <p class="weight-bold" *ngIf="sponsorDetail?.plainDemand">投放诉求</p>
        <div>{{sponsorDetail?.plainDemand }}</div>
      </div>
    </div>
  </div>
</seed-content>
<seed-contact-form
  *ngIf="hasContact==true"
  (closePage)="closeContact()"
  (submitUp)="submit(contactInfo)"
  #contactInfo [sponsorId]="sponsorId"
  [orgId]="sponsorDetail?.orgId"
  [sponsorType]="1"
></seed-contact-form>
<div class="contact-sponsor-position" [ngClass]="{toggleShow:toggleContact}">
  <div class="contact-now" (click)="Contact()">立即联系</div>
</div>
